from moviepy.editor import VideoFileClip
import os

video_path = input('>>> Video path: ').strip(
).removeprefix('"').removesuffix('"')

title = video_path.split(sep=os.sep)[-1].split('.')[0]
modified_video = VideoFileClip(video_path).resize((1280, 720))

modified_video.write_gif(f'D:\\Outputs\\{title}.gif')
